<template>
	<div class="root">字典管理</div>
</template>

<script>
	export default{
		
		data(){
			return{
				user:{}
			}
		},
		
		created(){
			

			console.log(">>>>>",this.$route)
			//query传值处理
			/* var obj = this.$route.query;
			console.log(">>>>>",obj)
			console.log(">>>>>",obj.id)
			console.log(">>>>>",obj.name)
			this.user=obj; */		
			
			//params传值处理
			var obj = this.$route.params;
			console.log(">>>>>",obj)
			console.log(">>>>>",obj.id)
			console.log(">>>>>",obj.name)
			this.user=obj;
		}
	}
</script>

<style scoped="scoped">

</style>